﻿@model IEnumerable<EOS.DataModel.LeaveStep>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Test</title>
</head>
<body>
    <p>
        @Html.ActionLink("添加步骤", "Create")
    </p>
    <table class="table">
        <tr>
            <th>
                步骤名称
            </th>
            <th>
                1
            </th>
            <th>
                2
            </th>
            <th></th>
        </tr>
    
    @foreach (var item in Model) {
        <tr>
            <th>
                @Html.ActionLink(@Html.DisplayNameFor(model => model.StepName).ToString(), "EditLeaveStep", new { id = item.ID }) |
            </th>
            <th>
                @Html.DisplayNameFor(model => model.StepOrder)
            </th>

        <th>
           
        </th>

            <td>
                @Html.ActionLink("X", "DeleteLeaveStep", new { id=item.ID }) |
                @Html.ActionLink("流程页面管理", "AddLeavePageLink", new { id=item.ID }) |
       
                @Html.ActionLink("权限管理", "AddLeavePageLink", new { id = item.ID }) |
            </td>
        </tr>
    }
    
    </table>
</body>
</html>
